New Functions in Week 8

print

{base}

Print object to the console

geom_hline

{GGPLOT2}

Add a horizontal line in GGPLOT2

predict

{stats}

Predict Probability

stargazer

{stargazer}

Create a regression output table

coord_flip

{GGPLOT2}

Flip the x and y axes of a graph

confint

{stats}

Calculate confidence Intervals for Model Parameters

geom_smooth

{GGPLOT2}

Generates a smoothed conditional means curve / line

lm

{base}

Fit a linear model

scale_colour_manual

{GGPLOT2}

Create your own discrete scale

geom_vline

{GGPLOT2}

Draws a vertical line

reorder

{stats}

Reorder Levels of Factor based on the values of a second variable, usually numeric.

colnames

{base}

Retrieve column names of a data frame

quantile

{stats}

Obtain empirical quantiles of a vector

The end!